package com.hnas.trade.domain;

import java.util.HashMap;
import java.util.Map;

import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;

import com.hnas.api.server.PostConnServer;

public class TradeRemindThread implements Runnable{
	
	private static Log log = LogFactory.getLog(TradeRemindThread.class);

	private Object sendData;
	
	public TradeRemindThread(Object sendData){
		this.sendData = sendData;
	}
	
	@Override
	public void run() {
		PostConnServer postConnServer = new PostConnServer();
		try {
			System.out.println("发送消息提醒");
			Map requestData = postConnServer.getResultData(sendData, "SendWxModelMsgBdt",HashMap.class);
		} catch (Exception e) {
			e.printStackTrace();
			log.info("发送微信提醒失败");
		}
	}

}
